<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>八嘎呀路</title>
		<link rel="stylesheet" type="text/css" href="https://printjs-4de6.kxcdn.com/print.min.css">
	</head>
	<body>
		<div class="modal-footer"><button id="print">打印</button>
		</div>
		<script src="./js/jquery-1.9.1.min.js"></script>
		<script src="https://printjs-4de6.kxcdn.com/print.min.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				$('#print').click(function () {
					console.log(1111)
					var PdfList = [
						{ fileUrl: 'https://fire-system.oss-cn-beijing.aliyuncs.com/web/file/1ec86ed1161e4fdebb436189a7ebe893fm.pdf' },
						{ fileUrl: 'https://fire-system.oss-cn-beijing.aliyuncs.com/web/file/1ec86ed1161e4fdebb436189a7ebe893fm.pdf' }
						]
					printJS({
						printable: [
							'https://img0.baidu.com/it/u=2008300169,625100722&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
							'https://img0.baidu.com/it/u=2008300169,625100722&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
							'https://img1.baidu.com/it/u=3585059384,329842672&fm=253&fmt=auto&app=120&f=JPEG?w=1080&h=360'
							],
						type: 'image',
						header: false,
						imageStyle: 'width:100%'
						// showModal: true
					})
				})
			})
		</script>
	</body>
</html>
<!-- https://printjs.crabbly.com/ -->
<!-- https://blog.csdn.net/G_ing/article/details/128429658?spm=1001.2101.3001.6650.7&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-7-128429658-blog-130988024.235%5Ev38%5Epc_relevant_anti_vip_base&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-7-128429658-blog-130988024.235%5Ev38%5Epc_relevant_anti_vip_base&utm_relevant_index=14 -->
<!-- https://blog.csdn.net/weixin_53729216/article/details/130988024?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EYuanLiJiHua%7EPosition-2-130988024-blog-89287682.235%5Ev38%5Epc_relevant_anti_vip_base&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EYuanLiJiHua%7EPosition-2-130988024-blog-89287682.235%5Ev38%5Epc_relevant_anti_vip_base&utm_relevant_index=4 -->